package com.neuedu.yyzx.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.neuedu.yyzx.po.Books;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;
@Mapper
public interface BooksMapper extends BaseMapper<Books>{
	@Select("select * from books where title like concat('%',#{title},'%')")
	public List<Books> selectBooksByName(String title);
}
